if __name__ == '__main__':
    # print("9 * 9  = 81")
    # print("9 * 9  = %d" %(81))

    # column = 9
    # while column >= 1:
    #     print("%d * 9  = %2d" % (column,  column * 9), end=" ")
    #     column -= 1

    row = 9
    while row >= 1:
        # column = 9
        column = row
        while column >= 1:
            print("%d * %d  = %-2d" % (column, row,  column * row), end=" ")
            column -= 1
        print()
        row -= 1
